﻿/*----------------------------------------------------------------
  //Copyright (C) 2012 赵国伟
  //文件功能描述：权限角色管理
  //创建人：赵国伟
  //生成时间：2012/03/18 12:15:00
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Shopping.Common;
using Shopping.Model;
using Shopping.BLL;

public partial class Manage_PurviewRoleManage : BaseManagePage
{
    protected string AllRes;
    protected List<RoleInfo> listOfRoles;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            PurviewResourceManage bllResource = new PurviewResourceManage();
            listOfRoles = bllResource.QueryAllRoles(false,true,false);
            AllRes = JSONHelper.ObjectToJson<List<ResourceInfo>>(bllResource.QueryAllRes(true, true));
        }
    }
}